{% extends "base_community.html" %}
{% load i18n %}

{% block content-related %}{% endblock %}

{% block title %}{% translate "Bouncing Tickets" %}{% endblock %}

{% block content %}

  <h1>{% translate "Bouncing Tickets" %}</h1>

  <h2 class="deck">{% translate "Tickets that have been repeatedly reopened." %}</h2>

  <table width="90%" class="docutils">
    <thead>
      <tr>
        <th>{% translate "Ticket" %}</th>
        <th>{% translate "Times reopened" %}</th>
        <th>{% translate "Last reopened" %}</th>
      </tr>
    </thead>
    <tbody>
      {% for t in tickets %}
        <tr>
          <td><a href="https://code.djangoproject.com/ticket/{{ t.id }}">#{{ t.id }}: {{ t.summary|truncatewords:10 }}</a></td>
          <td>{{ t.times_reopened }}</td>
          <td>{{ t.last_reopen_time|date:"F j, Y" }}</td>
        </tr>
      {% endfor %}
    </tbody>
  </table>

{% endblock %}
